package org.itboys.core.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/9
 * Description: 联系客服实体类
 */

@Entity(value = "SundayContactMessage", noClassnameStored = true)
public class SundayContactMessage extends BaseMongoEntity {
    private Long    memberId;//用户id
    private String memberName;//客户昵称
    private Long    userId;//回复员工id
    private String  name;//标题
    private String  text;//内容
    private String  answer;//回答内容
    private String  image;//图片链接地址
    private Integer status;//状态:0 未回复, 1 已回复

    public SundayContactMessage() {
    }

    public SundayContactMessage(Long memberId, String memberName, Long userId, String name, String text, String answer ){
        this.memberId = memberId;
        this.memberName = memberName;
        this.userId = userId;
        this.name = name;
        this.text = text;
        this.answer = answer;
    }

    public SundayContactMessage(Long memberId, String memberName, String name, String text) {
        this.memberId = memberId;
        this.memberName = memberName;
        this.name = name;
        this.text = text;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
